package com.ruoyi.teaching.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生面试题练习记录对象 ya_student_interview_record
 *
 * @author sunshine
 * @date 2024-02-01
 */
public class StudentInterviewRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 每日任务ID */
    @Excel(name = "每日任务ID")
    private Long dailyTaskId;

    /** 面试题编号 */
    @Excel(name = "面试题编号")
    private Long interviewId;

    /** 难点 */
    @Excel(name = "难点")
    private String difficulty;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 是什么 */
    @Excel(name = "是什么")
    private String what;

    /** 怎么用 */
    @Excel(name = "怎么用")
    private String how;

    /** 有什么用 */
    @Excel(name = "有什么用")
    private String why;

    /** 什么场景用 */
    @Excel(name = "什么场景用")
    private String ifThen;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classesId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDailyTaskId(Long dailyTaskId)
    {
        this.dailyTaskId = dailyTaskId;
    }

    public Long getDailyTaskId()
    {
        return dailyTaskId;
    }
    public void setInterviewId(Long interviewId)
    {
        this.interviewId = interviewId;
    }

    public Long getInterviewId()
    {
        return interviewId;
    }
    public void setDifficulty(String difficulty)
    {
        this.difficulty = difficulty;
    }

    public String getDifficulty()
    {
        return difficulty;
    }
    public void setAnswer(String answer)
    {
        this.answer = answer;
    }

    public String getAnswer()
    {
        return answer;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
    public void setWhat(String what)
    {
        this.what = what;
    }

    public String getWhat()
    {
        return what;
    }
    public void setHow(String how)
    {
        this.how = how;
    }

    public String getHow()
    {
        return how;
    }
    public void setWhy(String why)
    {
        this.why = why;
    }

    public String getWhy()
    {
        return why;
    }
    public void setIfThen(String ifThen)
    {
        this.ifThen = ifThen;
    }

    public String getIfThen()
    {
        return ifThen;
    }
    public void setClassesId(Long classesId)
    {
        this.classesId = classesId;
    }

    public Long getClassesId()
    {
        return classesId;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dailyTaskId", getDailyTaskId())
            .append("interviewId", getInterviewId())
            .append("difficulty", getDifficulty())
            .append("answer", getAnswer())
            .append("date", getDate())
            .append("what", getWhat())
            .append("how", getHow())
            .append("why", getWhy())
            .append("ifThen", getIfThen())
            .append("classesId", getClassesId())
            .append("studentId", getStudentId())
            .toString();
    }
}
